#include "geometrie.cpp"
int main()
{
    Punct pct=Punct(2.0,3.0);
    Punct p=Punct();
    Punct a=Punct(2.0,1.0);
    Punct b=Punct(-1.0,1.0);
    Punct c=Punct(-1.0,-1.0);
    Punct d=Punct(2.0,-1.0);
    Punct puncte[100];
    puncte[0]=a;
    puncte[1]=b;
    puncte[2]=c;
    puncte[3]=d;
    puncte[4]=a;
    
    Poligon poligon=Poligon(puncte);
    int i,n;
    n=poligon.nrPuncte();
    cout<<n<<endl;
    cout<<"Este Poligon:"<<poligon.isPoligon()<<endl;
    cout<<"Este Triunghi:"<<poligon.isTriunghi()<<endl;
    cout<<"Este Paralelogram:"<<poligon.isParalelogram()<<endl;
    cout<<"Este Dreptunghi:"<<poligon.isDreptunghi()<<endl;
    cout<<"Este Romb:"<<poligon.isRomb()<<endl;
    cout<<"Este Patrat:"<<poligon.isDreptunghi()<<endl;
    for (i=0; i<n; i++)
    cout<<poligon.getPunct(i);
    cout<<endl;
    cout<<pct<<endl;
    cout<<a+pct;
    return 0;
}
